package com.group.sliding.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 订单详情表
 * </p>
 */
@Data
@ApiModel(description = "购物车VO实体")
public class CartVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("购物车条目id ")
    private Long id;
    @ApiModelProperty("商品id")
    private Long itemId;
    @ApiModelProperty("购买数量")
    private Integer num;
    @ApiModelProperty("商品标题")
    private String name;
    @ApiModelProperty("规格")
    private String spec;
    @ApiModelProperty("价格,单位：分")
    private Integer price;
    @ApiModelProperty("商品图片")
    private String image;
}
